﻿using com.guojin.core.io.message;
using com.guojin.core.io;
using System;

namespace com.guojin.mj.net.message.login
{
    public class JoinClubRet : Message
    {
        public static int TYPE=7;
        public static int ID = 85;
        public  int reault;//0代表成功    1代表人满了  2俱乐部不存在,
        //3代表已经提交的申请正在审核中，4 代表申请加入的俱乐部达到上限
        public void decode(Input _in)
        {
            reault = _in.readInt();
        }
        public void encode(Output _out)
        {
           
        }
        public int getMessageId()
        {
            return ID;
        }

        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "reault" + reault;
        }
    }
}